package com.hoshiicloud.user.param.rbac;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 新增用户参数
 * </p>
 *
 * @author Mr.Wu
 * @since 2019-04-27
 */
@Data
public class SysUsersInsertParam implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 组织id
	 */
	@ApiModelProperty(value = "组织id")
	private Long deptId;

	/**
	 * 帐号
	 */
	@ApiModelProperty(value = "帐号")
	private String username;

	/**
	 * 密码
	 */
	@ApiModelProperty(value = "密码")
	private String password;

	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名")
	private String realname;

	/**
	 * 头像
	 */
	@ApiModelProperty(value = "头像")
	private String avatar;

	/**
	 * 电话
	 */
	@ApiModelProperty(value = "电话")
	private String phone;

	/**
	 * 邮箱
	 */
	@ApiModelProperty(value = "邮箱")
	private String email;

	/**
	 * 性别
	 */
	@ApiModelProperty(value = "性别")
	private Integer sex;

	/**
	 * 状态(0:正常,1:锁定)
	 */
	@ApiModelProperty(value = "状态(0:正常,1:锁定)")
	private Integer locked;

	@ApiModelProperty(value = "角色ID列表")
	private List<String> roleIdList;

	@ApiModelProperty(value = "职务")
	private String title;

}
